package com.scs.application.modules.adm.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import com.scs.application.modules.upgrade.db.annotation.EntityClassAnnotation;
import com.scs.application.modules.upgrade.db.annotation.EntityFieldAnnotation;
import com.scs.application.modules.upgrade.db.enums.EntityFieldType;
import lombok.Data;
import lombok.experimental.Accessors;
/**
 * <p>
 * 耗材准入询价目标
 * </p>
 *
 */
@Data
@Accessors(chain = true)
@EntityClassAnnotation(remark = "耗材准入询价目标")
@TableName("adm_matr_inquiry_target")
public class MatrInquiryTarget extends DataEntity {


    // id ,在父类中处理

    @EntityFieldAnnotation(
            text = "外键",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String applyId;

    @EntityFieldAnnotation(
            text = "adm_matr_apply_item.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String applyItemId;
    @EntityFieldAnnotation(
            text = "adm_matr_audit.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String auditId;

    @EntityFieldAnnotation(
            text = "adm_matr_audit_item.id",
            type = EntityFieldType.LONG,
            length = "",
            not_null = true,
            default_value = "",
            comment = ""
    )
    private String auditItemId;

    @EntityFieldAnnotation(
            text = "供应商代码",
            length = "30",
            not_null = false,
            default_value = "",
            comment = "为空表示不在当前的供应商目录"
    )
    private String supplierCode;

    @EntityFieldAnnotation(
            text = "供应商名称",
            length = "100",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String supplierName;

    @EntityFieldAnnotation(
            text = "供应商联系电话",
            length = "30",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String supplierTel;

    @EntityFieldAnnotation(
            text = "联系人",
            length = "255",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String supplierContactor;

    @EntityFieldAnnotation(
            text = "推送结果，-1为推送成功(所有明细)",
            length = "10",
            not_null = false,
            default_value = "",
            comment = ""
    )
    private String statusSp;

}
